//
//  ViewController.m
//  创建类
//
//  Created by clz on 2019/7/7.
//  Copyright © 2019年 clz. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //我们创建了一个人
    self.persion = [[Persion alloc]init];
    self.persion.name = @"xiaoming";
    self.persion.age = 12;
    self.persion.sex = 1;
    
    Persion *persion1 = [[Persion alloc]init];
    persion1.name = @"xiaofagn";
    persion1.age = 13;
    persion1.sex = 2;
    
    //把数据放到数组。。
    NSMutableArray *array = [[NSMutableArray alloc]init];
    [array addObject:self.persion];
    [array addObject:persion1];
    
    //最后会用一个list去展示array里面的数据
    
    
}


@end
